package com.ihr360.payroll.service.salarytasklet.model;

import com.ihr360.commons.model.type.SalaryAdjustFormula;
import com.ihr360.payroll.model.dto.salary.meta.SalaryField;

import java.util.List;

/**
 * @author davidwei
 */
public class SimplePayrollConfig {
    private SalaryAdjustFormula salaryAdjustFormula;
    private List<SalaryField> salaryAdjustReferenceFields;
    private List<SalaryField> fields;

    public SimplePayrollConfig(SalaryAdjustFormula salaryAdjustFormula, List<SalaryField> salaryAdjustReferenceFields, List<SalaryField> fields) {
        this.salaryAdjustFormula = salaryAdjustFormula;
        this.salaryAdjustReferenceFields = salaryAdjustReferenceFields;
        this.fields = fields;
    }

    public SalaryAdjustFormula getSalaryAdjustFormula() {
        return salaryAdjustFormula;
    }

    public List<SalaryField> getSalaryAdjustReferenceFields() {
        return salaryAdjustReferenceFields;
    }

    public List<SalaryField> getFields() {
        return fields;
    }
}